package com.diy.sigmund.diyuser.entity.enumerate;

import com.diy.sigmund.diycommon.entity.enumerate.ResponseEnum;
import java.util.Objects;

/**
 * 授权身份类型
 *
 * @author ylm-sigmund
 * @since 2021/8/20 9:52
 */
public enum IdentityTypeEnum {
    /** "1","手机号" */
    PHONE("1", "手机号"),
    /** "2","邮箱" */
    EMAIL("2", "邮箱"),
    /** "3","用户名" */
    USER_NAME("3", "用户名"),
    /** "4","qq" */
    QQ("4", "qq"),
    /** "5","微信" */
    WECHAT("5", "微信"),
    /** "6", "腾讯微博" */
    TENCENT_WEIBO("6", "腾讯微博"),
    /** "7", "新浪微博" */
    SINA_WEIBO("7", "新浪微博"),
    ;
    private String code;
    private String msg;

    IdentityTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
